package com.zmm.zebulon.module.infra.biz.controller.app.file.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;

/**
 * description: 用户 App - 上传文件 Request VO
 *
 * @author zebulon
 * package com.zmm.zebulon.module.infra.biz.controller.app.file.vo
 * name: AppFileUploadReqVO
 * date 2024/1/7 21:17
 */
@Schema(description = "用户 App - 上传文件 Request VO")
@Data
public class AppFileUploadReqVO {

    @Schema(description = "文件附件", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "文件附件不能为空")
    private MultipartFile file;

    @Schema(description = "文件附件", example = "zebulon.png")
    private String path;

}
